package swapna.test.main;

public class MathOperations {

	public int sum(int val1, int val2){
		return val1+val2;
	}
   public int sub(int val1, int val2){
	   return val2-val1;
   }
   public int alg(int a, int b){
	   int x=(a*a)+(b*b)+(2*a*b);
	   return x;

   }
   public void num(int n){
	   if (n/2==0)
	   {
		   System.out.println("the number is even");
	   }
	   else {
		   System.out.println("The number is odd");
	   }
   }

   public void testFor(int n){
	   int m;
	   for(int i =1;i<=10;i++)
	   {
	   System.out.println("m : "+(n*i));
	   }
   }


}
